<?php
return [
    'mini_program' => [
        'app_id' => env('WECHAT_APP_ID', 'wxc631d44309e0eca0'),
        'secret' => env('WECHAT_SECRET', '0c4171d265ae190b2f7b9fab05ff4242'),
        // 指定 API 调用返回结果的类型：array(default)/collection/object/raw/自定义类名
        'response_type' => 'array',
        // 缓存 目录为 `runtime/wechat.log`
        'log' => [
            'level' => 'debug',
            'file' => storage_path() . '/wechat.log',
        ],
        // 支付配置
        'pay' => [
            'mch_id' => env('WECHAT_MCH_ID', ''),
            // V2 密钥
            'v2_key' => env('WECHAT_V2_KEY', ''),
            // V3 密钥
            'v3_key' => env('WECHAT_V3_KEY', ''),
            // 绝对路径
            'cert_path' => storage_path() . '/cert/cert.pem',
            // 绝对路径
            'key_path' => storage_path() . '/cert/key.pem',
            // 异步通知地址
            'notify_url' => 'www.baidu.com' . '/index.php/wechat/notify',
        ]
    ]
];
